.reward-container {
    padding: 1rem;
    min-height: 100vh;
    box-sizing: border-box;
    background: url("../images/reward_bg.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #dafdda;

    // 列表
    .room-list-box {
        position: relative;
        margin-top: 1.5rem;
        height: calc(100vh - 12rem);
        overflow: hidden;
        padding-bottom: 1rem;
        border-radius: 2.4rem;
        background: url("../images/reward_top_bg.png");
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-color: $purpleBgOne;
        box-shadow: 0 0.2rem 0.6rem 0 rgba(0, 0, 0, .8);

        .top-box {
            @include flex-center-center();
            flex-direction: column;
            width: 100%;
            aspect-ratio: 3/1;
            text-align: center;

            .title {
                padding-top: 1rem;
                font-size: 4rem;
                font-weight: bold;

                .issue {
                    /* 文字渐变背景 */
                    background: -webkit-linear-gradient(to bottom, #fecf8c, #f2a22e);
                    background: linear-gradient(to bottom, #fecf8c, #f2a22e);
                    /* 使用渐变背景时，通常需要设置透明度以实现渐变效果 */
                    background-clip: text;
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    filter: drop-shadow(rgba(0, 0, 0, .8) 4px 3px 5px);

                    /* 文字阴影 */
                    // text-shadow: 2px 2px 2px #000000;
                }

                .name {
                    /* 文字渐变背景 */
                    background: -webkit-linear-gradient(to bottom, #e5d6fd, #bba8d8);
                    background: linear-gradient(to bottom, #e5d6fd, #bba8d8);
                    /* 使用渐变背景时，通常需要设置透明度以实现渐变效果 */
                    background-clip: text;
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    filter: drop-shadow(rgba(0, 0, 0, .8) 4px 3px 5px);
                }
            }

            .time-slot {
                margin-top: .2rem;
                padding: 0 1rem;
                height: 2rem;
                line-height: 2rem;
                border-radius: 1rem;
                font-size: 1.2rem;
                color: #FFF;
                background-color: #3f1181;
            }

            .grade-value {
                @include flex-center-center();
                height: 4rem;
                padding-left: 1rem;
                padding-right: 1.6rem;
                border-radius: 2rem;
                background: linear-gradient(to bottom, #bd9aef 0, #9a6cdc 10%, #4d1c92 90%, #3c1178 100%);
                color: #FFF;

                .img-icon {
                    width: 3rem;
                    height: 3rem;
                }

                .grade-box {
                    margin-left: .2rem;

                    .level {
                        height: 2rem;
                        line-height: 2rem;
                        text-align: left;

                        .grade {
                            font-size: 1.2rem;

                        }

                        .exp {
                            margin-left: .4rem;
                            font-size: 1rem;
                            color: $purpleFontOne;
                        }
                    }

                    .progress {
                        position: relative;
                        margin-top: .2rem;
                        width: 16rem;
                        height: 1rem;
                        border-radius: .5rem;
                        border: 1px solid #a26def;
                        background-color: #b09ec4;

                        // box-shadow:  inset 1px 1px 4px 0 rgba(0,0,0,.8);
                        .progress-num {
                            position: absolute;
                            top: 0;
                            bottom: 0;
                            left: 0;
                            border-radius: .5rem;
                            background: url("../images/progress_bg.png");
                            background-size: auto 100%;
                            background-repeat: repeat-x;
                        }
                    }
                }
            }
        }

        .tab-box {
            overflow: hidden;
            border-radius: 2.4rem 2.4rem 0 0;
        }

        .room-list {
            padding: .6rem 1rem;
            height: calc(100vh - 30rem);
            border-radius: 2.4rem;
            overflow-y: auto;

            .item {
                &:nth-child(1) {
                    .left-box {
                        .inner-box {
                            &::after {
                                display: none;
                            }
                        }
                    }
                }
            }

            .item-box {
                @include flex-center-start();
                margin-top: 1rem;
                border-radius: 1.6rem;
                background: linear-gradient(to bottom, #efe3ff 0, #e2ceff 10%, #aa83e3 90%, #8c61c9 100%);
                box-shadow: 0 2px 0.4rem 0 rgba(0, 0, 0, .6);
                .left-box {
                    position: relative;
                    width: 8rem;
                    height: 6rem;
                    border-radius: 1.6rem 0 0 1.6rem;
                    background: linear-gradient(to bottom, #bcbcbc 0, #909090 10%, #454545 90%, #303030 100%);

                    .how-win {
                        @include flex-center-center();
                        height: 100%;
                        font-size: 1.4rem;
                        color: #FFF;
                    }

                    .inner-box {
                        position: absolute;
                        top: 0;
                        right: 0;
                        bottom: 0;
                        left: 1rem;
                        @include flex-center-start();

                        img {
                            width: 3rem;
                            height: 3rem;
                            z-index: 10;
                        }

                        .name {
                            font-size: 1rem;
                            color: #FFF;
                        }

                        &::after {
                            display: block;
                            content: "";
                            position: absolute;
                            left: 1.3rem;
                            bottom: 50%;
                            width: .6rem;
                            height: 8rem;
                            background: linear-gradient(to right, #77eeed 0, #22cbca 50%, #38cac9 100%);
                            box-shadow: 0 0.2rem 0.6rem 0 rgba(0, 0, 0, .8);
                            z-index: 0;
                        }
                    }

                }

                 &.item-yellow{
                    .left-box{
                        background: linear-gradient(to bottom, #ffc898 0, #f09240 50%,#f19a4c 90%, #fcb06e 100%);
                    }
                    
                }
                &.item-gray {
                    .left-box {
                        .inner-box {
                            &::after {
                                background: linear-gradient(to right, #d0d0d0 0, #979797 50%, #acacac 100%);
                            }
                        }
                    }
                }

                .right-box {
                    @include flex-center-between();
                    flex: 1;
                    width: 0;
                    padding: 0 1rem;
                    box-sizing: border-box;

                    .receive-img {
                        width: 4rem;
                        height: 4rem;
                    }

                    .attr-name {
                        @include flex-center-start();
                        font-size: 1.4rem;
                        font-weight: bold;
                        color: $purpleFontTwo;

                        img {
                            width: 2rem;
                            height: 2rem;
                        }

                        .name {
                            margin-left: .4rem;
                            font-size: 1.2rem;
                            color: $purpleBgOne;
                        }
                    }

                    .btn {
                        width: 8rem;
                        height: 3.4rem;
                        text-align: center;
                        line-height: 3rem;
                        background: url("../images/battle_btn.png");
                        background-size: 100% 100%;
                        background-repeat: no-repeat;
                        font-size: 1.2rem;
                        font-weight: bold;
                        color: #FFF0E2;
                        text-shadow: 0 2px 2px #a84f01;

                        &.btn-gray {
                            filter: grayscale(1);
                        }
                    }
                }
            }
        }
    }
}